{% extends 'oratk_app/master.html' %}
{% block title %}
    <title>{{ select_name }}</title>
{% endblock %}
{% block tag_left %}
    <h3>&nbsp数据库信息</h3>
    <h4>{{ db_info.db_name }}</h4>
    <h4>&nbsp{{ db_info.db_conn }}</h4>
    <h3>&nbsp查询批次</h3>
    <h4>&nbsp{{ db_info.batch_id }} </h4>
    <h3>&nbsp巡检明细： </h3>
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <div class="table-responsive">
            <h2 class="page-header_1">主机信息</h2>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_0 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns0 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val0 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_1 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns1 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val1 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_2 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns2 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val2 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_3 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns3 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val3 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_4 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns4 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val4 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_5 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns5 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val5 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover">
                <span style="color:red;">{{ title_info_6 }}</span>
                <thead>
                <tr>
                    {% for col_name in host_columns6 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in val6 %}
                    <tr>
                        {% for ii in i %}
                            <td>{{ ii }}</td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <h2 class="page-header_2">数据库信息</h2>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc0 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns0 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result0 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>


                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc1 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns1 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result1 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc2 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns2 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result2 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>


                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc3 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns3 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result3 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc4 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns4 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result4 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc5 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns5 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result5 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc6 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns6 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result6 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc7 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns7 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result7 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc8 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns8 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result8 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc9 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns9 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result9 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc10 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns10 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result10 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc11 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns11 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result11 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc12 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns12 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result12 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc13 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns13 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result13 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc14 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns14 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result14 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc15 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns15 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result15 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc16 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns16 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result16 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc17 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns17 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result17 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc18 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns18 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result18 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>
            <table class="table table-striped table-bordered table-hover column">
                <span style="color:red;">{{ desc19 }}</span>
                <thead>
                <tr>
                    {% for col_name in columns19 %}
                        <th>{{ col_name }}</th>
                    {% endfor %}
                </tr>
                </thead>
                <tbody>
                {% for i in result19 %}
                    <tr>
                        {% for col_value in i %}
                            {#                                        <td><pre  style="display:inline;  border: none">{{ col_value }}</pre></td>#}
                            <td>
                                <pre style="display:inline-table; border: none">{{ col_value }}</pre>
                            </td>
                        {% endfor %}
                    </tr>
                {% endfor %}
                </tbody>
            </table>

        </div>
    </div>

{% endblock %}
